﻿using System.Net;
using System.Net.Quic;
using System.Runtime.Versioning;
using System.Threading.Tasks;
using ePipe;
using Letter.Net.Session;

namespace Letter.Net.Quic;

sealed class QuicSession : ISession
{
    [RequiresPreviewFeatures]
    public QuicSession(System.Net.Quic.QuicConnection connection)
    {
        
        // connection.AcceptInboundStreamAsync()
    }



    public string Id => throw new System.NotImplementedException();

    public bool Active => throw new System.NotImplementedException();

    public EndPoint LocalEndPoint => throw new System.NotImplementedException();

    public EndPoint RemoteEndPoint => throw new System.NotImplementedException();

    public IDuplexPipe<byte> Transport => throw new System.NotImplementedException();

    public ValueTask StartAsync()
    {
        throw new System.NotImplementedException();
    }

    public ValueTask CloseAsync()
    {
        throw new System.NotImplementedException();
    }
}